﻿<%@ Page ContentType="text/xml" Language="vb" AutoEventWireup="false" CodeBehind="rss.aspx.vb" Inherits="CW1.rss"%>    
    <asp:Repeater ID="rptRSS" runat="server">
        <HeaderTemplate>
            <rss version="2.0">
                <channel>
                    <title>Shin Warriors Union News!</title>
                    <link>list.aspx</link>
                    <description>
                        This is the syndication feed for Shin Warriors Union.
                    </description>
        </HeaderTemplate>

        <ItemTemplate>
            <item>
                <gamename>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "GameName"))%>
                </gamename>

                <releasedate>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "ReleaseDate"))%>
                </releasedate>

                <platform>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "Platform"))%>
                </platform>

                <seriesname>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "SeriesName"))%>
                </seriesname>

                <thumbnail>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "ThumbNail"))%>
                </thumbnail>

                <officialwebsite>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "OfficialWebsite"))%>
                </officialwebsite>

                <detailpic>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "DetailPic"))%>
                </detailpic>

                <description>
                    <%# FormatForXML(DataBinder.Eval(Container.DataItem, "Description"))%>
                </description>
            </item>
         </ItemTemplate>

        <FooterTemplate>
            </channel>
            </rss>  
        </FooterTemplate>
    </asp:Repeater>